﻿using System;
namespace Producers.Kis.Xtee.Riik.Ee.Producer.Kis {
    
    
    public partial class MKMDocument : global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IMKMDocument {
        
        private global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.DocumentType @__type;
        
        private global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.NonEmptyString @__nr;
        
        private global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.NonEmptyString @__organisation;
        
        public MKMDocument() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public MKMDocument(global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.DocumentType @type, global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.NonEmptyString @nr, global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.NonEmptyString @organisation) {
            this.@__type = @type;
            this.@__nr = @nr;
            this.@__organisation = @organisation;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected MKMDocument(IMKMDocument @mKMDocument) {
            this.@__type = @mKMDocument.Type;
            this.@__nr = @mKMDocument.Nr;
            this.@__organisation = @mKMDocument.Organisation;
        }
        
        public virtual global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.DocumentType Type {
            get {
                return this.@__type;
            }
            set {
                this.@__type = value;
            }
        }
        
        public virtual global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.NonEmptyString Nr {
            get {
                return this.@__nr;
            }
            set {
                this.@__nr = value;
            }
        }
        
        public virtual global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.NonEmptyString Organisation {
            get {
                return this.@__organisation;
            }
            set {
                this.@__organisation = value;
            }
        }
    }
}
